package com.hzdl.car.mapper;

import com.hzdl.car.bean.News;
import com.hzdl.car.vo.LogVo;
import com.hzdl.car.vo.NewsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NewsMapper {
    List<News> findWhere(NewsVo newsVo);
    int add(NewsVo newsVo);
    int delete(Integer id);
    int update(NewsVo newsVo);
    List<News> findList();

}
